home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 78 / CD-ROM 78.iso / Compl / Design / data1.cab / Resource__US / dwlite.rsr / TEXT_270_Radiance RIF File Template.txt < prev    next >
Encoding:
Text File  |  2000-02-18  |  8.0 KB  |  213 lines

  1. #
  2. # Token for base filename   = $project
  3. # Token for view parameters = $view
  4. #
  5. # Special Note: 
  6. # In the resource only, values with spaces must be in quotation marks to preserve the
  7. # spaces.   The quotation marks are dropped from the actual rif file produced by DW.
  8. #
  9. # ____________________________ General Notes ____________________________
  10. #
  11. #   This is a command file for running Radiance using the "rad" command
  12. #   with view parameters extracted from DesignWorkshop (DW) exported x.rpict.sh,
  13. #
  14. #   and with the zone of interest x min, x max; y min, y max;  z min, z max
  15. #   recorded manually in DW for the DW scene.  
  16. #
  17. #   To actually execute the rendering on a unix system, use a command line like
  18. #
  19. #        nice rad $project.rif &
  20. #
  21. #
  22. # _______________________ Project Specific Notes_____________________
  23. #
  24. #
  25. # Put any working notes of your own in here as convenient, preceeding each line 
  26. # with the number symbol so the comments are ignored by the rad program.  
  27. #
  28. #
  29. # _________________________ Functional Content____________________
  30. #
  31. #           The "scene=" line defines the main Radiance geometry file.  
  32. #
  33. #           To rendermultiple ".rad" geometry files together, just the name of 
  34. #           each to this line, with a space between each complete filename.  
  35. #
  36. scene= $project.rad
  37. #
  38. #           Uncomment and set base file name correctly for "materials" file,
  39. #           if you are using one.  If the DesignWorkshop-Radiance materials
  40. #           substitution library is _not_ installed in your Radiance environment,
  41. #           then remove "dw.mat" from the "materials=" line.  
  42. #
  43. #           By default, the name-based material definitions in "dw.mat" will 
  44. #           override the color-based material definitions in $project.mat.
  45. #
  46. materials= $project.mat dw.mat
  47. #
  48. #
  49. OCTREE= $project.oct
  50. #
  51. #           Uncomment and adjust "oconv" options if necessary.  For instance,
  52. #           if Radiance gives an error "Set Overflow in oconv", try repeatedly
  53. #           doubling the -r value below until either your rendering works, or 
  54. #           you get  a different error.
  55. #
  56. # oconv -r 1024
  57. #
  58. #           PICTURE defines the base name for output images.
  59. #
  60. PICTURE= $project
  61. #
  62. #   
  63. # Example View Parameters: view=  -vtv -vp -169.308 -146.681 17.0199 -vd 109.551 96.3275 0.0801116 -vu 0 0 1 -vh 70 -vv 70 -vs 0 -vl 0
  64. #
  65. view=  $view
  66. #     
  67. #           Read dimensions from DW model to set zone of interest, interior 
  68. #           or exterior.  The zone of interest defines the region of the model
  69. #           for which lighting calculations will be optimized, and also the limits 
  70. #           of the scene for parallel projections.  By default, the zone of interest
  71. #           is the whole model.  Smaller zones defined here manually may give
  72. #           faster and better rendering results.  
  73. #
  74. #           Note: 
  75. #           The y axis is reversed in direction in the Radiance coordinate system
  76. #           as compared to the DesignWorkshop coordinate system, 
  77. #           so switch the sign of Y max and Y min values (only).  To do this,
  78. #           switch the sign of each the DW Y values, but don't consider their
  79. #           order until after the signs have been switched.  Then look
  80. #           at the values, and make sure they end up in the order y min, y max.
  81. #
  82. #         (In DesignWorkshop, max Y is in the far south, but in Radiance,
  83. #          max Y is in the far north)
  84. #
  85. #          Format:
  86. #
  87. #          zone_type  x min x max  y min y max  z min z max
  88. #
  89. # ZONE= exterior -75 75 -50 50 0 50
  90. #
  91. #
  92. # ______ ADDITIONAL OPTIONS Section___________________________
  93. #
  94. #        When doing repeated refinement of large scenes, 
  95. #        uncomment the ambient file setting below for efficiency
  96. #        and set base file name correctly for "ambfile".
  97. #        (See Radiance documentation for details.)
  98. #
  99. # AMBFILE= $project.amb
  100. #
  101. #
  102. #        "resolution" sets the dimensions in pixels of the final rendering.  
  103. #        Our default is 512, a medium-small setting.  More than 1024 is big.  
  104. RESOLUTION= 512
  105. #
  106. #        "quality" can be set low, medium, or high. Our default is medium.  
  107. #
  108. QUALITY= medium
  109. #
  110. #        "detail" can be set low, medium, or high. Our default is medium.  
  111. #        Increasing the detail settign will show finer detail in renderings, 
  112. #        but they will take longer and require more system resources.  
  113. #
  114. DETAIL= medium
  115. #
  116. #        Increasing "variability" will smooth the lighting in a scene
  117. #        but will substantially increase rendering times.
  118. #        Our default is medium.  
  119. #
  120. VARIABILITY= medium
  121. #
  122. #        "indirect" defines the number of indirect bounces for lighting
  123. #        calculations.
  124. #        0 gives fast, simple shadow-casting without interreflections.  
  125. #        A number greater than 2 will be slow with diminishing returns.  
  126. #        Our default of 2 provides good interior renderings, though it is
  127. #        a bit on the slow side.  
  128. #
  129. INDIRECT= 2
  130. #
  131. #        "report" defines the interval for periodic status reports, 
  132. #        by default set here to every "2" minutes, and the name for the "error
  133. #        file" used for these reports, by default set here to "progress"
  134. #
  135. REPORT= "2 progress"
  136. #
  137. #        Set "penumbras" to T to get softer lights, at the expense of much slower
  138. #        renderings.  
  139. #
  140. PENUMBRAS= F
  141. #
  142. #
  143. # ______ OPTIONAL Additional View Controls __________________________
  144. #
  145. #        There are  several  standard view identifiers defined by rad, which you
  146. #        can use to define orthographic and axonometric projections. 
  147. #
  148. #        Thesestandard views are specified by strings of  the  form
  149. #
  150. #               [x]?[y]?[z]?[vlah]?
  151. #
  152. #        (That is, an x or X followed  by a y or Y followed by a z or Z followed  
  153. #        by  an optional v, l, a or h.)  
  154. #
  155. #        The letters indicate the desired view position, where
  156. #        upper case  X  means maximum X, lower case x means minimum x
  157. #        and so on.  The final letter  is  the  view  type, where  'v'  is  
  158. #        perspective  (the default), 'l' is parallel, 'a'  is  angular  fisheye,  
  159. #        and  'h'  is hemispherical  fisheye.   A  perspective view from  
  160. #        maximum X, minimum Y would be "Xy"  or  "Xyv".  A parallel view from 
  161. #        maximum Z would be "Zl".  
  162. #
  163. #        If "ZONE" is an interior  zone, the standard views will be cut to inside 
  164. #        the zone perimeter.  If it is an exterior zone, the standard views  
  165. #        will be outside, as if the model is viewed from entirely outside its
  166. #        boundaries.
  167. #
  168. #        To calculate several views at once of the same model, add another 
  169. #        "view= " line for each.  Rad will automatically produce an image for
  170. #        each view, reusing as much information as possible for maximum
  171. #        efficiency.
  172. #        You can do this with the standard views specified below, or with a
  173. #        series of perspective views exported for DesignWorkshop, for 
  174. #        instance for animations.)
  175. #        
  176. #        ________ Standard Views _________
  177. #
  178. #        Uncomment each "view=" line to render that view in
  179. #        addition to any other views you have set up above.  
  180. # view= Zl  # plan view, looking straight down (from max Z of "zone" if interior)
  181. #
  182. # view= yl  # south elevation, looking straight north 
  183. #             (section from min y of"zone" if interior)
  184. #
  185. # view= Xl  # east elevation, looking straight west (section from min y of
  186. #             (section from min y ofif interior)
  187. #
  188. # view= Yl  # north elevation, looking straight south (section from min y of
  189. #             (section from min y of"zone" if interior)
  190. #
  191. # view= xl  # west elevation, looking straight east (section from min y of
  192. #             (section from min y ofif interior)
  193. #
  194. # view= xyZl  # SWaxn -- axonometric from southwest and above
  195. # view= XyZl  # SWaxn -- axonometric from southeast and above
  196. # view= xYZl  # NWaxn -- axonometric from northwest and above
  197. # view= XYZl  # NEaxn -- axonometric from northeast and above
  198. #
  199. #
  200. # ________________________ CONSTANT Parameters ____________________
  201. #
  202. #        "up" defines the axis to consider vertical.  This should 
  203. #        not normally be changed while using DesignWorkshop models.  
  204. #
  205. UP= Z
  206. #
  207. #
  208. # End of rif file
  209. EOF
  210.  
  211.